FluentCrm\App\Models\Campaign C

Total Complexity 112
Dependencies 12
Dependents 10
Total lines 768
Lines of code 524
Logical lines of code 271
Comment lines 67
Methods 37
Properties 3

Methods 37

Method Rating Maintainability Complexity Lines of code
getSubscribeIdsByListModel()
B
41 18 57
getSubscribersModel()
A
43 11 48
subscribe()
A
43 8 50
boot()
A
45 7 44
syncSubjects()
S
52 6 26
stats()
S
46 5 38
guessEmailSubject()
S
57 5 16
maybeDeleteDuplicates()
S
51 4 28
getSubscriberIdsBySegmentSettings()
S
56 4 20
getEmailScheduleAt()
S
56 4 17
duplicateSubjects()
S
59 4 16
subscribeBySegment()
S
58 4 16
rangedScheduleDates()
S
59 3 14
getUtmParams()
S
62 2 12
getSubjectAttribute()
S
71 2 6
getSubscriberIdsCountBySegmentSettings()
S
69 2 7
getSubscribeIdsByList()
S
65 2 9
getHash()
S
63 2 10
getSubQueryForLisTorTagFilter()
S
60 1 14
setSlugAttribute()
S
77 1 3
setSettingsAttribute()
S
78 1 3
getSettingsAttribute()
S
80 1 3
getRecipientsCountAttribute()
S
81 1 3
getRenderedBodyAttribute()
S
80 1 3
scopeOfType()
S
79 1 3
scopeArchived()
S
79 1 3
template()
S
78 1 3
emails()
S
73 1 5
campaign_emails()
S
72 1 5
subjects()
S
78 1 3
getSubscribeIdsByListCount()
S
74 1 4
unsubscribe()
S
70 1 6
getParsedText()
S
79 1 3
filterDuplicateSubscribers()
S
66 1 8
archive()
S
74 1 5
getEmailCount()
S
74 1 5
deleteCampaignData()
S
67 1 8